#ifndef _DEV_TTY_H_
#define _DEV_TTY_H_

#ifdef __cplusplus
extern "C" {
#endif

#include <types.h>
#include "device.h"

struct tty_cfg
{
    int     fd;
};

int tty_dev_add(const char *name, const struct tty_cfg *cfg);
void tty_del(device_t *dev);

#ifdef __cplusplus
}
#endif
#endif
